package view.clock_panel;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;

import listener.ParticipantChangeEvent;
import listener.ParticipantChangeListener;

public abstract class BasicButton extends JButton implements ActionListener, ParticipantChangeListener {
	private static final long serialVersionUID = -6141000446242811025L;

	public BasicButton() {
		super();
		addActionListener(this);
	}
	
	public abstract void actionPerformed(ActionEvent e);
	public abstract void participantChange(ParticipantChangeEvent e);
}
